package test;

public class C<T> {
    T value;

    C(T value) {
      this.value = value;
    }

    T get() {
      return value;
    }

    public static void main(String[] args) {
        C<Integer> a = new C<>(1);
        System.out.println(a.value);
        System.out.println(a.get());
    }
}